{if $daijin_list}
<div class="index_right_box">
	<div class="box_top" style=" border-bottom:#ccc dotted 1px; ">
			<div class="f_l">热门代金券</div>
			<div class="f_r top_more"><a href="{url x="store" r="ycate"}">更多</a></div>
	</div>
	<div class="box_main clearfix">
		{foreach from=$daijin_list item=right_daijin_item key=key}
			<div>
			<div class="right_youhui_item right_daijin_item" {if $key gt 0}style="display:none;"{/if}>
				<div class="right_youhui_ico">
				<a href="{url x="store" r="ydetail" p="id=$right_daijin_item.id"}" title="{$right_daijin_item.name}" target="_blank"><img src="{function name="get_spec_image" v=$right_daijin_item.icon w=50 h=50 g=1}" width="50" height="50" alt="{$right_daijin_item.name}" /></a>
				</div>
				<div class="right_youhui_info">					
					<a href="{url x="store" r="ydetail" p="id=$right_daijin_item.id"}" title="{$right_daijin_item.name}" target="_blank" class="title_link">{function name="msubstr" v=$right_daijin_item.name b=0 e=18}</a>
					<div class="blank1"></div>
					<div class="f_l">
					<span style="color:#f30; font-size:14px; font-weight:bolder; font-family:verdana;">{$right_daijin_item.current_price_format}</span>
					<span style="text-decoration:line-through; color:#999;">{$right_daijin_item.origin_price_format}</span>
					</div>
					<div class="f_r">
						<a href="{url x="store" r="ydetail" p="id=$right_daijin_item.id"}" class="see_daijin"></a>
					</div>
				</div>
			</div>
		
			<div class="right_daijin_row_item" {if $key eq 0}style="display:none;"{/if}>
				<div class="f_l">
					<a href="{url x="store" r="ydetail" p="id=$right_daijin_item.id"}" title="{$right_daijin_item.name}" target="_blank" class="title_link">{function name="msubstr" v=$right_daijin_item.name b=0 e=10}</a>
				</div>
				<div class="f_r" style="padding-right:10px;">
					<span style="color:#f30; font-size:12px; font-weight:bolder; font-family:verdana;">{$right_daijin_item.buy_count}</span>
					人购买
				</div>
				<div class="blank1"></div>
			</div>
			</div>
		{/foreach}
	</div>
</div>
<div class="blank"></div>
{/if}
<adv adv_id="首页右侧代金券模块广告" />